package springboot.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import springboot.pojo.User;

@Service
public class UserService {

    public User queryById(long id){
        return new User();
    }

    @Transactional
    public void saveUser(){
        System.out.println("新增用户");
    }
}
